home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / MSC2BC.ARJ / MYPROG < prev    next >
Text File  |  1992-01-09  |  2KB  |  76 lines

  1. # Standard Windows make file.  The utility MAKE.EXE compares the
  2. # creation date of the file to the left of the colon with the file(s)
  3. # to the right of the colon.  If the file(s) on the right are newer
  4. # then the file on the left, Make will execute all of the command lines
  5. # following this line that are indented by at least one tab or space.
  6. # Any valid MS-DOS command line may be used.
  7.  
  8. # Update the resource if necessary
  9.  
  10. CL = cl -c -Gsw -Oegizwc -Zpd -W2 -AM -FPa
  11. # Compile without code movement optimizations for debugging
  12. # CL = cl -c -Gsw -Zpd -W2 -AM -FPa
  13.  
  14. MYPROG.res: MYPROG.rc MYPROG.h
  15.     rc -r MYPROG.rc
  16.  
  17. MYPROG.obj: MYPROG.c MYPROG.h MYPROG2.h
  18.     $(CL) MYPROG.c
  19.  
  20. bitblt.obj: bitblt.c bitblt.h time.h MYPROG.h MYPROG2.h
  21.     $(CL) bitblt.c
  22.  
  23. lines.obj: lines.c time.h MYPROG.h MYPROG2.h
  24.     $(CL) lines.c
  25.  
  26. time.obj: time.c time.h MYPROG.h MYPROG2.h
  27.     $(CL) time.c
  28.  
  29. clipping.obj: clipping.c time.h MYPROG.h MYPROG2.h
  30.     $(CL) clipping.c
  31.  
  32. rects.obj: rects.c time.h MYPROG.h MYPROG2.h
  33.     $(CL) rects.c
  34.  
  35. poly.obj: poly.c time.h MYPROG.h MYPROG2.h
  36.     $(CL) poly.c
  37.  
  38. curves.obj: curves.c time.h MYPROG.h MYPROG2.h
  39.     $(CL) curves.c
  40.  
  41. misc.obj: misc.c time.h MYPROG.h MYPROG2.h
  42.     $(CL) misc.c
  43.  
  44. interfac.obj: interfac.c time.h MYPROG.h MYPROG2.h
  45.     $(CL) interfac.c
  46.  
  47. text.obj: text.c time.h MYPROG.h MYPROG2.h
  48.     $(CL) text.c
  49.  
  50. dlgs.obj: dlgs.c time.h MYPROG.h MYPROG2.h
  51.     $(CL) dlgs.c
  52.  
  53. tick.obj: tick.asm
  54.     masm tick.asm;
  55.  
  56. cpu.obj: cpu.asm
  57.     masm cpu.asm;
  58.  
  59.  
  60. # Update the executable file if necessary, and if so, add the resource back in.
  61. # The /NOE must be included when linking with Windows libraries.
  62.  
  63. MYPROG.exe: MYPROG.obj MYPROG.def bitblt.obj time.obj lines.obj clipping.obj\
  64.        rects.obj poly.obj misc.obj interfac.obj text.obj curves.obj\
  65.        tick.obj cpu.obj dlgs.obj
  66.     link /li /MAP @MYPROG.lnk
  67.     mapsym MYPROG.map
  68.     rc -K MYPROG.res
  69.  
  70. # If the .res file is new and the .exe file is not, update the resource.
  71. # Note that the .rc file can be updated without having to either
  72. # compile or link the file.
  73.  
  74. MYPROG.exe: MYPROG.res
  75.     rc -K MYPROG.res
  76.